<template>
  <div>
    <el-menu
        style="width: 200px"
        default-active="2"
        class="el-menu-vertical-demo"
    >
      <el-sub-menu index="1">
        <template #title>
          <el-icon><location/></el-icon>
          <span>选项</span>
        </template>

          <el-menu-item index="1-1">item one</el-menu-item>
          <el-menu-item index="1-2">item two</el-menu-item>
          <el-menu-item index="1-3">item three</el-menu-item>
          <el-menu-item index="1-4">item one</el-menu-item>

      </el-sub-menu>
      <el-menu-item index="2">
        <el-icon><Menu /></el-icon>
       <span>菜单</span>
      </el-menu-item>
      <el-menu-item index="3" disabled>
        <el-icon><document /></el-icon>
        <span>文件</span>
      </el-menu-item>
      <el-menu-item index="4">
        <el-icon><setting /></el-icon>
        <span>设置</span>
      </el-menu-item>
    </el-menu>
  </div>
</template>

<script>
import {Location, Setting, Menu ,Document} from '@element-plus/icons-vue'
export default {
    components: {
      Location, Setting, Menu ,Document
    },
  name: "Aside"
}
</script>


<style scoped>

</style>